{"project":"supabase_upload_input","branch":"main","commit":"a33c1149d72f06da931c243ac5fc5ce425696e14","component":{"name":"HomePage","nodes":{"root":{"tag":"div","type":"element","children":["qUZX5B_obx9JdrREoZr8I"],"classes":{"bTqdax":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-4qyT4kDwjO9hKEcL8NGa":{"tag":"td","type":"element","children":["eHPw8hL9xMU_xa56tZBid"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-efmKFE39apme4A6woyIJ":{"tag":"h2","type":"element","children":["oPGblKwEL4FCOXRH8D3Ys"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2IQpny-nF4GKb5QxrEF9i":{"tag":"div","type":"element","children":["zLPUXTO4t1V8nXLsoLC5D","wEPHtPu-10kQb4Y3JiXTK"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2x2URyCKk3z4UOQltAjF1":{"tag":"h3","type":"element","children":["bOFjWvUzS99RqjtqEf5Oo"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4TP_G5P2FGktiilCoyt74":{"type":"text","value":{"type":"value","value":"filesArr\n"}},"4g2hW3_kEgylqJa6IAVqr":{"tag":"tr","type":"element","children":["G6_Vw_BgfiW9HK-KIZpkX","pS0TPekM_hrcPElq4AvdE"],"classes":{"dxjzRu":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6B1OsBlGgOPg8f0gTBMAS":{"tag":"td","type":"element","children":["XsLn0_k734CRQC2Yl-o75"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6HOmzTI4e_XEKfsdZwpy-":{"tag":"table","type":"element","children":["hfmarTXU9ZGAcNShDhsvg"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6j_62LmhVd8p_ol4p_-ky":{"tag":"td","type":"element","children":["c-xjypetoeCGEuwG6J-JP"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"7OGiyJ9Mfr1dJ2WAU1Q8q":{"type":"text","value":{"type":"value","value":"Used to show the download button instead of upload input for now.\nUsed in conjunction with the 'files' attribute."}},"7c7x4U4dAOiSdB_EUmtk6":{"type":"text","value":{"type":"value","value":"Simply give it your Supabase Key and URL in the attributes.\nUser must be logged in to use."}},"8JMmh1JG6yvg9WglgEwJc":{"tag":"div","type":"element","children":["gKOdXbW-on_939JSdA1t-"],"classes":{"CsusC":{"formula":{"type":"value","value":true}}},"customProperties":{}},"B0cUjTRjL9w5eks74DhJp":{"tag":"div","type":"element","children":["IS4Y6NJn0gijQh31ZewmY"],"classes":{"dyAEja":{"formula":{"type":"value","value":true}}},"customProperties":{}},"BDddcawn3UBGnVp4A37nJ":{"tag":"td","type":"element","children":["Ll1C-V_AfBOqr8TlZl_Ia"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"C2ztPypJigHNYahz23c_U":{"type":"text","value":{"type":"value","value":"Attributes"}},"CVO0Q9AybYV7yp0owfPBQ":{"type":"text","value":{"type":"value","value":"Max file size allowed in MB\n\nEnter only a number.\n\nExample: 10"}},"D2aIDiP5YhC6DjhjrFLXh":{"type":"text","value":{"type":"value","value":"Intro"}},"Dj6JZ0RzgtSAy18oZSPNs":{"tag":"h4","type":"element","children":["zfsSdGUB2b8moIGpNQqfr"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"EyTAPsfJiwjsJGEVrR1eH":{"tag":"tr","type":"element","children":["NvI1yfxa5g4rMFmPcG4AX","h15aZGMP8rNP-KBTAKhNJ"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"G3qi2dxffHNIxMRYRwJd_":{"type":"text","value":{"type":"value","value":"files"}},"G6_Vw_BgfiW9HK-KIZpkX":{"tag":"td","type":"element","children":["XFEaopnuf4WuPMEAiyfIt"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"GaZUbv12M-B6FAlQK6Skl":{"tag":"table","type":"element","children":["4g2hW3_kEgylqJa6IAVqr"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"H4L4-qYWVCIAN9Ehzwldr":{"tag":"h2","type":"element","children":["sw0h1xF3ZqfcsW-IqEId8"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"IAO0gRmy9yXKli9EyEdew":{"tag":"div","type":"element","children":["Dj6JZ0RzgtSAy18oZSPNs","6HOmzTI4e_XEKfsdZwpy-"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"IS4Y6NJn0gijQh31ZewmY":{"name":"supabase-upload-input","type":"component","customProperties":{}},"KI6TI3b0oKLI7CsRFZV3T":{"tag":"section","type":"element","children":["-efmKFE39apme4A6woyIJ","to-ItBLTn4_hwe7iWGsEc"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"KKFGscoJl1lLc53IL9ffF":{"tag":"tr","type":"element","children":["6B1OsBlGgOPg8f0gTBMAS","jJPCrSEVG4d0oK3s7Q32y"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Ll1C-V_AfBOqr8TlZl_Ia":{"type":"text","value":{"type":"value","value":"has-files"}},"NvI1yfxa5g4rMFmPcG4AX":{"tag":"td","type":"element","children":["G3qi2dxffHNIxMRYRwJd_"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Ocz0955gPBhgnA5gXkqXn":{"tag":"h2","type":"element","children":["D2aIDiP5YhC6DjhjrFLXh"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"PEnxiYa2VzIL62zsl_i2T":{"tag":"td","type":"element","children":["vJ8Ae6FqZeA2GzbPXsBSi"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"QozClqn4vLraoakHnLOeK":{"tag":"section","type":"element","children":["H4L4-qYWVCIAN9Ehzwldr","RpMEP3bYGiAf_VRNmjWiP"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"QsggGXCS67hlRA1u0HCEI":{"tag":"td","type":"element","children":["fX4BGlufgr_uJTpkkJkNf"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"RpMEP3bYGiAf_VRNmjWiP":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["d5R32V345MlGqEinOVxYQ"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"TB5piMN_VNAlcOvTB8Z6c":{"type":"text","value":{"type":"value","value":"max-file-size"}},"W_vJ6tIDuvzfwD5fp9cP3":{"type":"text","value":{"type":"value","value":"Description of style variable"}},"WkuAD2xibepAh5pf4sWBK":{"type":"text","value":{"type":"value","value":"Files attribute is used if you want to create a download button with previously uploaded files.\n\nPass in the file data from supabase.\n\nExample:\n\n[\n{\n\"Key\": \"bucket/folder/path/example-file-name.webp\",\n\"name\": \"example-file-name.webp\"\n}\n]"}},"XFEaopnuf4WuPMEAiyfIt":{"type":"text","value":{"type":"value","value":"style-variable-name"}},"XsLn0_k734CRQC2Yl-o75":{"type":"text","value":{"type":"value","value":"bucket-name"}},"Yh3AI9d9k9e1rA4RPw0m-":{"tag":"tr","type":"element","children":["-4qyT4kDwjO9hKEcL8NGa","QsggGXCS67hlRA1u0HCEI"],"classes":{"cECIWr":{"formula":{"type":"value","value":true}}},"customProperties":{}},"_F6o0nf7j33s1Q_9iLFYn":{"tag":"td","type":"element","children":["iIOcTo3LKGUe0Ib8X1kNg"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"_dXv-L1MbxXu1_Yq9iUWJ":{"tag":"tr","type":"element","children":["uMMJvQAdaGnG10PN2RF5_","d7pap_OC3AOC08dfTSWGK"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"b6cjXpIQ9PrJvKRnITnmc":{"type":"text","value":{"type":"value","value":"Use this to declare the bucket name"}},"bOFjWvUzS99RqjtqEf5Oo":{"type":"text","value":{"type":"value","value":"Upload Input Element"}},"bdVX813ourWGALtmvHDX6":{"tag":"p","type":"element","children":["uhkdG54Xmn8ReHAiHtXza"],"classes":{"sahaH":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bdcRky9mGKEZ-I0kCPKMT":{"tag":"td","type":"element","children":["tJL0_6QR3qVm2sBcNNKaG"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"c-xjypetoeCGEuwG6J-JP":{"type":"text","value":{"type":"value","value":"Returns the uploaded files' key data. This is returned from supabase and used to fetch the files.\n\nStore this where relevant/needed"}},"cp_obVu_u_FPiR8vuG5zZ":{"tag":"tr","type":"element","children":["PEnxiYa2VzIL62zsl_i2T","krW0XDqbHWaK3-YAkHYIn"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"d5R32V345MlGqEinOVxYQ":{"tag":"li","type":"element","children":["2x2URyCKk3z4UOQltAjF1","y8uuKBJkVjdEdcVPPT6px","B0cUjTRjL9w5eks74DhJp","2IQpny-nF4GKb5QxrEF9i","IAO0gRmy9yXKli9EyEdew"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"d7pap_OC3AOC08dfTSWGK":{"tag":"td","type":"element","children":["CVO0Q9AybYV7yp0owfPBQ"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"eHPw8hL9xMU_xa56tZBid":{"type":"text","value":{"type":"value","value":"clear-files"}},"fX4BGlufgr_uJTpkkJkNf":{"type":"text","value":{"type":"value","value":"Used to clear input for now. Create a workflow that simply changes a variable: false -> true -> false"}},"f_fTtuikOpxlKEkdAMslj":{"tag":"tr","type":"element","children":["BDddcawn3UBGnVp4A37nJ","st5Hd1z7626GgtBuPc1he"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"gKOdXbW-on_939JSdA1t-":{"tag":"div","type":"element","children":["jD-wKYaGpnUIkDvD7xK3c","bdVX813ourWGALtmvHDX6"],"classes":{"eozNhk":{"formula":{"type":"value","value":true}}},"customProperties":{}},"h15aZGMP8rNP-KBTAKhNJ":{"tag":"td","type":"element","children":["WkuAD2xibepAh5pf4sWBK"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hVG2Qu2I9ihxg1FaW89ym":{"tag":"section","type":"element","children":["Ocz0955gPBhgnA5gXkqXn","8JMmh1JG6yvg9WglgEwJc"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hfmarTXU9ZGAcNShDhsvg":{"tag":"tr","type":"element","children":["xpHiE7iidC_LPE-WjBjzR","6j_62LmhVd8p_ol4p_-ky"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"iIOcTo3LKGUe0Ib8X1kNg":{"type":"text","value":{"type":"value","value":"Use this to declare the folder structure (if any) where the files will be uploaded to.\n\nExample: path/folder-name\n\nDo not add ' / ' (slash) to the beginning or end of the string."}},"jD-wKYaGpnUIkDvD7xK3c":{"tag":"h3","type":"element","children":["lUPGFYkSWa1r-o8-U5uH1"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"jJPCrSEVG4d0oK3s7Q32y":{"tag":"td","type":"element","children":["b6cjXpIQ9PrJvKRnITnmc"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"krW0XDqbHWaK3-YAkHYIn":{"tag":"td","type":"element","children":["siWshNdEIcaGlbm0g9BOU"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"lUPGFYkSWa1r-o8-U5uH1":{"type":"text","value":{"type":"value","value":"Supabase Upload Input Element"}},"oPGblKwEL4FCOXRH8D3Ys":{"type":"text","value":{"type":"value","value":"Style variables"}},"pS0TPekM_hrcPElq4AvdE":{"tag":"td","type":"element","children":["W_vJ6tIDuvzfwD5fp9cP3"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qUZX5B_obx9JdrREoZr8I":{"tag":"main","type":"element","children":["hVG2Qu2I9ihxg1FaW89ym","QozClqn4vLraoakHnLOeK","KI6TI3b0oKLI7CsRFZV3T"],"classes":{"drWRwT":{"formula":{"type":"value","value":true}}},"customProperties":{}},"siWshNdEIcaGlbm0g9BOU":{"type":"text","value":{"type":"value","value":"Project's supabase base URL and Anon Key"}},"st5Hd1z7626GgtBuPc1he":{"tag":"td","type":"element","children":["7OGiyJ9Mfr1dJ2WAU1Q8q"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"sw0h1xF3ZqfcsW-IqEId8":{"type":"text","value":{"type":"value","value":"Components"}},"tJL0_6QR3qVm2sBcNNKaG":{"type":"text","value":{"type":"value","value":"folder-path"}},"to-ItBLTn4_hwe7iWGsEc":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"div","type":"element","children":["GaZUbv12M-B6FAlQK6Skl"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"uMMJvQAdaGnG10PN2RF5_":{"tag":"td","type":"element","children":["TB5piMN_VNAlcOvTB8Z6c"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"uhkdG54Xmn8ReHAiHtXza":{"type":"text","value":{"type":"value","value":"A basic element to upload files to Supabase.\n\nThe component doubles up as a \"download\" button as well.\n\nMeant to be an example or base to build your own.\nI recommend using the new Nordbase/Supabase package."}},"vJ8Ae6FqZeA2GzbPXsBSi":{"type":"text","value":{"type":"value","value":"supabase details"}},"wEPHtPu-10kQb4Y3JiXTK":{"tag":"table","type":"element","children":["Yh3AI9d9k9e1rA4RPw0m-","EyTAPsfJiwjsJGEVrR1eH","f_fTtuikOpxlKEkdAMslj","KKFGscoJl1lLc53IL9ffF","ywtamRMPNgv4I0ewzYnSV","_dXv-L1MbxXu1_Yq9iUWJ","cp_obVu_u_FPiR8vuG5zZ"],"classes":{"cMpiQH":{"formula":{"type":"value","value":true}}},"customProperties":{}},"xpHiE7iidC_LPE-WjBjzR":{"tag":"td","type":"element","children":["4TP_G5P2FGktiilCoyt74"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"y8uuKBJkVjdEdcVPPT6px":{"tag":"p","type":"element","children":["7c7x4U4dAOiSdB_EUmtk6"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ywtamRMPNgv4I0ewzYnSV":{"tag":"tr","type":"element","children":["bdcRky9mGKEZ-I0kCPKMT","_F6o0nf7j33s1Q_9iLFYn"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zLPUXTO4t1V8nXLsoLC5D":{"tag":"h4","type":"element","children":["C2ztPypJigHNYahz23c_U"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zfsSdGUB2b8moIGpNQqfr":{"type":"text","value":{"type":"value","value":"Events"}}},"route":{"path":[],"query":{}},"onLoad":{"actions":[],"trigger":"load"},"functions":{}},"components":[{"apis":{"Upload Files":{"url":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Attributes","supabase-url"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"/storage/v1"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","uploadRequest"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"url"}}]}}],"display_name":"Get"}}],"display_name":"Concatenate","variableArguments":true},"auth":null,"body":{"type":"object","arguments":[{"Name":0,"name":"file","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"value"}}]}}],"display_name":"Get"}}]},"name":"Upload Files","path":[],"type":"REST","proxy":false,"method":"PUT","headers":{"type":"record","entries":[{"name":"apiKey","formula":{"path":["Attributes","supabase-key"],"type":"path"}},{"name":"Authorization","formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"Bearer "}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","uploadRequest"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"token"}}]}}],"display_name":"Get"}}],"display_name":"Concatenate","variableArguments":true}},{"name":"Content-type","formula":{"type":"value","value":"multipart/form-data"}}]},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[{"data":{"name":"@toddle/append","type":"function","arguments":[{"name":"Array","type":{"type":"Array"},"formula":{"path":["Variables","uploadedFileKeys"],"type":"path"}},{"name":"Item","type":{"type":"Any"},"formula":{"type":"object","arguments":[{"Name":0,"name":"Key","formula":{"path":["Apis","Upload Files","data","Key"],"type":"path"}},{"Name":0,"name":"name","formula":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":"String","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"value"}},{"Name":0,"formula":{"type":"value","value":"name"}}]}}],"display_name":"Get"}},{"name":"Search","type":"String","formula":{"type":"value","value":" "}},{"name":"Replace with","type":"String","formula":{"type":"value","value":"_"}}],"display_name":"Replace all"}}]}}],"display_name":"Append"},"type":"SetVariable","variable":"uploadedFileKeys"}],"trigger":"Success"},"dependsOn":[]},"Request Upload URL":{"url":{"path":["Attributes","supabase-url"],"type":"path"},"auth":{"type":"Bearer access_token"},"body":{"type":"value","value":null},"name":"Request Upload URL","path":[{"formula":{"type":"value","value":"storage"}},{"formula":{"type":"value","value":"v1"}},{"formula":{"type":"value","value":"object"}},{"formula":{"type":"value","value":"upload"}},{"formula":{"type":"value","value":"sign"}},{"formula":{"path":["Attributes","bucket-name"],"type":"path"}},{"formula":{"type":"switch","cases":[{"formula":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":"String","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"value"}},{"Name":0,"formula":{"type":"value","value":"name"}}]}}],"display_name":"Get"}},{"name":"Search","type":"String","formula":{"type":"value","value":" "}},{"name":"Replace with","type":"String","formula":{"type":"value","value":"_"}}],"display_name":"Replace all"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","folder-path"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":null}}],"display_name":"Default to","variableArguments":true}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":null}}],"display_name":"Equals"}}],"default":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Attributes","folder-path"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"/"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":"String","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"value"}},{"Name":0,"formula":{"type":"value","value":"name"}}]}}],"display_name":"Get"}},{"name":"Search","type":"String","formula":{"type":"value","value":" "}},{"name":"Replace with","type":"String","formula":{"type":"value","value":"_"}}],"display_name":"Replace all"}}],"display_name":"Concatenate","variableArguments":true}}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"apiKey","formula":{"path":["Attributes","supabase-key"],"type":"path"}},{"name":"Content-type","formula":{"type":"value","value":"application/json"}}]},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[{"data":{"name":"@toddle/append","type":"function","arguments":[{"name":"Array","type":{"type":"Array"},"formula":{"path":["Variables","uploadRequest"],"type":"path"}},{"name":"Item","type":{"type":"Any"},"formula":{"path":["Apis","Request Upload URL","data"],"type":"path"}}],"display_name":"Append"},"type":"SetVariable","variable":"uploadRequest"}],"trigger":"Success"},"dependsOn":[]},"Get Single File Link":{"url":{"path":["Attributes","supabase-url"],"type":"path"},"auth":{"type":"Bearer access_token"},"body":{"type":"object","arguments":[{"Name":0,"name":"expiresIn","formula":{"type":"value","value":600}}]},"name":"Get Single File Link","path":[{"formula":{"type":"value","value":"storage"}},{"formula":{"type":"value","value":"v1"}},{"formula":{"type":"value","value":"object"}},{"formula":{"type":"value","value":"sign"}},{"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Attributes","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","fileIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"Key"}}]}}],"display_name":"Get"}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"apiKey","formula":{"path":["Attributes","supabase-key"],"type":"path"}},{"name":"Content-type","formula":{"type":"value","value":"application/json"}}]},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[],"trigger":"Success"},"dependsOn":[]},"Get Signed File Links":{"url":{"path":["Attributes","supabase-url"],"type":"path"},"auth":{"type":"Bearer access_token"},"body":{"type":"object","arguments":[{"Name":0,"name":"expiresIn","formula":{"type":"value","value":600}}]},"name":"Get Signed File Links","path":[{"formula":{"type":"value","value":"storage"}},{"formula":{"type":"value","value":"v1"}},{"formula":{"type":"value","value":"object"}},{"formula":{"type":"value","value":"sign"}},{"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Attributes","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","downloadLoop"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"Key"}}]}}],"display_name":"Get"}}],"type":"REST","proxy":true,"method":"POST","headers":{"type":"record","entries":[{"name":"apiKey","formula":{"path":["Attributes","supabase-key"],"type":"path"}},{"name":"Content-type","formula":{"type":"value","value":"application/json"}}]},"autoFetch":{"type":"value","value":false},"onCompleted":{"actions":[{"data":{"name":"@toddle/append","type":"function","arguments":[{"name":"Array","type":{"type":"Array"},"formula":{"path":["Variables","requestedURL"],"type":"path"}},{"name":"Item","type":{"type":"Any"},"formula":{"path":["Apis","Get Signed File Links","data","signedURL"],"type":"path"}}],"display_name":"Append"},"type":"SetVariable","variable":"requestedURL"}],"trigger":"Success"},"dependsOn":[]},"Delete All Uploaded Files":{"url":{"path":["Attributes","supabase-url"],"type":"path"},"auth":{"type":"Bearer access_token"},"body":{"type":"object","arguments":[{"Name":0,"name":"prefixes","formula":{"name":"-751UxFAKqKNVvzWJmhIg","type":"apply","arguments":[]}}]},"name":"Delete All Uploaded Files","path":[{"formula":{"type":"value","value":"storage"}},{"formula":{"type":"value","value":"v1"}},{"formula":{"type":"value","value":"object"}},{"formula":{"path":["Attributes","bucket-name"],"type":"path"}}],"type":"REST","proxy":true,"method":"DELETE","headers":{"type":"record","entries":[{"name":"apiKey","formula":{"path":["Attributes","supabase-key"],"type":"path"}},{"name":"Content-type","formula":{"type":"value","value":"application/json"}}]},"autoFetch":{"type":"value","value":false},"dependsOn":[]},"Delete Single Uploaded File":{"url":{"path":["Attributes","supabase-url"],"type":"path"},"body":{"type":"object","arguments":[{"Name":0,"name":"prefixes","formula":{"name":"NBIhVT","type":"apply","arguments":[{"name":"fileName","formula":{"path":["ApiInputs","name"],"type":"path"},"testValue":"example-file-name.webp"}]}}]},"name":"Delete Single Uploaded File","path":{"WdKcR49GOG-LnAGyu7GX7":{"index":1,"formula":{"type":"value","value":"v1"}},"_0acZXAO-Qcx9ychNALRN":{"index":2,"formula":{"type":"value","value":"object"}},"h-tMF3Q2XWrM021xLcO2F":{"index":3,"formula":{"path":["Attributes","bucket-name"],"type":"path"}},"r_c_ovDE7Shazbrjr6Nxq":{"index":0,"formula":{"type":"value","value":"storage"}}},"type":"http","client":{"debounce":null,"parserMode":"auto"},"inputs":{"name":{"name":"name","formula":{"type":"value","value":""}}},"method":"DELETE","server":{"ssr":null,"proxy":{"enabled":{"formula":{"type":"value","value":true}}}},"headers":{"apiKey":{"formula":{"path":["Attributes","supabase-key"],"type":"path"}},"Content-type":{"formula":{"type":"value","value":"application/json"}},"Authorization":{"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"formula":{"type":"value","value":"Bearer "}},{"formula":{"name":"@toddle/getHttpOnlyCookie","type":"function","arguments":[{"formula":{"type":"value","value":"access_token"}}],"display_name":"Get Http-Only Cookie"}}],"display_name":"Concatenate"}}},"version":2,"autoFetch":{"type":"value","value":false},"queryParams":null,"redirectRules":{},"dependsOn":[]}},"name":"supabase-upload-input","nodes":{"root":{"tag":"div","type":"element","children":["SJsDuomBW-_7bHUJ3THOJ","apjbsX8jlBSZxjhOHAiUD","CsRU2_xeIa_Mp8JXNmSt1","PVKiamcxDqmNvYmbgIhff","UpyUP8L6djy2o1iM-whmp","pSr_x_Dp5SfBkcD79QhOn"],"classes":{"Shgvs":{"formula":{"type":"value","value":true}}},"customProperties":{}},"0vt6GXSD2vEy4w0D306KK":{"id":"vWLu53UP7O8PlTHbdKfou","type":"text","value":{"path":["ListItem","Item","name"],"type":"path"},"events":null},"1O1fIVy11w8qgkaCU4H7e":{"name":"icon-spinner-loader","type":"component","attrs":{"size":{"type":"value","value":"1rem"}},"condition":{"path":["Apis","Upload Files","isLoading"],"type":"path","label":null},"customProperties":{}},"1Qv5xwoeH-aS31c_xSj2z":{"tag":"span","type":"element","children":["YmTM7J1KTFNFdL1AToAqq"],"classes":{"bXeTzx":{"formula":{"type":"value","value":true}}},"customProperties":{}},"1pCoIMpbMV51GKuDzE2gM":{"tag":"span","type":"element","children":["i3AnGYLixP8dqBcLM7YT5"],"classes":{"cXtpkA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"40G5Ij5q3hZVjJ46DXGzS":{"type":"text","value":{"type":"switch","cases":[{"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","files"],"type":"path"}}],"display_name":"Size"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":" files"}}],"display_name":"Concatenate","variableArguments":true},"condition":{"name":"@toddle/greaterThan","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","files"],"type":"path"}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Greater than"}}],"default":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"path":["Attributes","files","0","Key"],"type":"path"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"type":"value","value":"/"}}],"display_name":"Split"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":2}}],"display_name":"Get"}},"events":null},"4C_Wenf_UT1eoC5o5_sQ0":{"tag":"div","type":"element","events":{"click":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"showFileSizeExceeded"}],"trigger":"click"}},"children":["_5nc-TJpSKc8Hlf2CAczh"],"classes":{"dtahNR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4mHh5mBi3A6PM03ejV_yy":{"id":"vWLu53UP7O8PlTHbdKfou","type":"text","value":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["ListItem","Item","value"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":"name"}}],"display_name":"Get"},"events":null},"6YvHnUXqRqFEPckJ8lN3O":{"name":"icon-download","type":"component","condition":{"name":"@toddle/lessOrEqual","type":"function","label":null,"arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","label":null,"arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","files"],"type":"path","label":null}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Less or equal"},"customProperties":{}},"7RjxV-LPeeXUlwCYbdfLA":{"tag":"input","type":"element","attrs":{"id":{"type":"value","value":"attachment-input"},"type":{"type":"value","value":"file"},"value":{"type":"value","value":""},"accept":{"type":"value","value":"image/*, application/pdf, text/plain, text/plain;charset=UTF-8, text/csv, application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.rar, application/zip, application/x-7z-compressed"},"multiple":{"type":"value","value":true}},"events":{"change":{"actions":[{"name":"checkAttachmentSize","events":{"size":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"fileSize"}],"trigger":"size"}},"version":2},{"type":"Switch","cases":[{"actions":[{"name":"clearAttachment","version":2},{"data":{"type":"value","value":true},"type":"SetVariable","variable":"showFileSizeExceeded"}],"condition":{"name":"@toddle/greaterThan","type":"function","label":"File Size Exceeded","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","fileSize"],"type":"path","label":"File Size Exceeded"}},{"name":"Second","type":{"type":"Number"},"formula":{"path":["Attributes","max-file-size"],"type":"path"}}],"display_name":"Greater than"}}],"default":{"actions":[{"data":null,"type":"SetVariable","variable":"files"},{"data":{"name":"@toddle/entries","type":"function","arguments":[{"name":"Object","type":{"type":"Object"},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Event","target"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":"files"}}],"display_name":"Get"}}],"display_name":"Entries"},"type":"SetVariable","variable":"files"},{"data":{"type":"value","value":0},"type":"SetVariable","variable":"loopIndex"},{"data":{"type":"array","arguments":[]},"type":"SetVariable","variable":"uploadRequest"},{"data":{"type":"array","arguments":[]},"type":"SetVariable","variable":"uploadedFileKeys"},{"type":"TriggerWorkflow","workflow":"aV63WO"}]}}],"trigger":"change"}},"classes":{"eOHQPu":{"formula":{"type":"value","value":true}}},"customProperties":{}},"95eG_eqd67baSBC_Ixvbt":{"id":"H3cPFrhuapLgZy6wUIAoh","name":"icon-upload","type":"component","attrs":{"size":{"type":"value","value":"0.875rem"}},"condition":{"path":["Variables","showUpload"],"type":"path"},"customProperties":{}},"9Vcnwpe_V729YYnos6aeY":{"id":"dzDSUzM0-kqqZMft_dtYI","name":"icon-close","type":"component","attrs":{"size":{"type":"value","value":"0.875rem"}},"customProperties":{}},"CsRU2_xeIa_Mp8JXNmSt1":{"tag":"div","type":"element","events":{"click":{"actions":[{"api":"Delete All Uploaded Files","type":"Fetch","input":{},"inputs":null,"onError":{"actions":[]},"onSuccess":{"actions":[]}},{"data":null,"type":"SetVariable","variable":"files"},{"data":{"path":["Variables","uploadedFileKeys"],"type":"path"},"type":"TriggerEvent","event":"filesArr"}],"trigger":"click"}},"children":["dzDSUzM0-kqqZMft_dtYI"],"condition":{"name":"@toddle/boolean","type":"function","label":null,"arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"path":["Variables","files"],"type":"path","label":null}}],"display_name":"Boolean"},"classes":{"nVmlF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Dx3K9XMUzi8WMkydUZmBf":{"tag":"button","type":"element","attrs":{"type":{"type":"value","value":"button"}},"children":["n3cp3KtysG908TiWLxkyv"],"classes":{"bcyeJX":{"formula":{"type":"value","value":true}}},"customProperties":{}},"HnQQCD92uW15TH4cwf2Rc":{"id":"q3Wm2Wm8SiyqkQnhUqmvf","tag":"button","type":"element","attrs":{"type":{"type":"value","value":"button"}},"repeat":{"path":["Variables","files"],"type":"path"},"children":["ol-jOVk1TP9De0b71iQjr","agtnUIzemYC3knnstrUjS"],"classes":{"mtPie":{"formula":{"type":"value","value":true}}},"customProperties":{}},"J3XO70P95fFz2ZCpJ_7OC":{"tag":"span","type":"element","children":["TKukWSbxz8dXpR9nFlOGP"],"classes":{"cXtpkA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"LLA7mVqFBmihryWErAVbb":{"tag":"div","type":"element","events":{"click":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"showFileSizeExceeded"}],"trigger":"click"}},"classes":{"dWzuMP":{"formula":{"type":"value","value":true}}},"customProperties":{}},"P3l7ZEsnnVrm5Df5u4Z8e":{"name":"icon-download","type":"component","customProperties":{}},"PVKiamcxDqmNvYmbgIhff":{"tag":"button","type":"element","attrs":{"type":{"type":"value","value":"button"}},"events":{"click":{"actions":[{"type":"Switch","cases":[{"actions":[{"data":{"name":"@toddle/not","type":"function","arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Variables","showDropdown"],"type":"path"}}],"display_name":"Not"},"type":"SetVariable","variable":"showDropdown"}],"condition":{"name":"@toddle/greaterThan","type":"function","label":"If more than 1 attachment","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","label":null,"arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","files"],"type":"path","label":null}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Greater than"}}],"default":{"actions":[{"type":"TriggerWorkflow","workflow":"wFvvgk"}]}}],"trigger":"click"}},"children":["cpVEJRwy8mMZVVVHdNEmb","6YvHnUXqRqFEPckJ8lN3O","YDPu7PmbTPbEIvobVXZlE"],"condition":{"path":["Attributes","has-files"],"type":"path","label":null},"classes":{"QVFNe":{"formula":{"type":"value","value":true}}},"customProperties":{}},"R0fcovkaQD5Cic0gx0j3q":{"id":"q3Wm2Wm8SiyqkQnhUqmvf","tag":"button","type":"element","attrs":{"type":{"type":"value","value":"button"}},"events":{"click":{"actions":[{"data":{"path":["ListItem","Index"],"type":"path"},"type":"SetVariable","variable":"fileIndex"},{"api":"Get Single File Link","type":"Fetch","input":{},"inputs":null,"onError":{"actions":[]},"onSuccess":{"actions":[{"name":"downloadAttch","version":2,"arguments":[{"name":"dlUrl","formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Attributes","supabase-url"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"/storage/v1"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"path":["Apis","Get Single File Link","data"],"type":"path"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"type":"value","value":"token"}}],"display_name":"Split"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":0}}],"display_name":"Get"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"download="}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Attributes","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","fileIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"name"}}]}}],"display_name":"Get"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"&"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"path":["Apis","Get Single File Link","data"],"type":"path"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"type":"value","value":"?"}}],"display_name":"Split"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":1}}],"display_name":"Get"}}],"display_name":"Concatenate","variableArguments":true}}]}],"trigger":"onSuccess"}},{"data":null,"type":"SetVariable","variable":"fileIndex"}],"trigger":"click"}},"repeat":{"path":["Attributes","files"],"type":"path"},"children":["_XqX0vp9rFK0HuW0GudZN","Dx3K9XMUzi8WMkydUZmBf"],"classes":{"cNnWde":{"formula":{"type":"value","value":true}}},"customProperties":{}},"RuS-90Hx0hUlcQf8QdFZq":{"tag":"button","type":"element","attrs":{"type":{"type":"value","value":"button"}},"events":{"click":{"actions":[{"type":"TriggerWorkflow","workflow":"wFvvgk"}],"trigger":"click"}},"children":["1pCoIMpbMV51GKuDzE2gM","P3l7ZEsnnVrm5Df5u4Z8e"],"classes":{"eXjQBe":{"formula":{"type":"value","value":true}}},"customProperties":{}},"SJsDuomBW-_7bHUJ3THOJ":{"name":"modal-base","type":"component","children":["qp2Ktve6OR0ovAJTPlt11","LLA7mVqFBmihryWErAVbb"],"condition":{"path":["Variables","showFileSizeExceeded"],"type":"path","label":null},"customProperties":{}},"TKukWSbxz8dXpR9nFlOGP":{"type":"text","value":{"type":"switch","cases":[{"formula":{"type":"switch","cases":[{"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Variables","files"],"type":"path"}}],"display_name":"Size"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":" files"}}],"display_name":"Concatenate","variableArguments":true},"condition":{"name":"@toddle/greaterThan","type":"function","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Variables","files"],"type":"path"}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Greater than"}}],"default":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","files","0","value"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":"name"}}],"display_name":"Get"}},"condition":{"name":"@toddle/boolean","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"path":["Variables","files"],"type":"path"}}],"display_name":"Boolean"}}],"default":{"type":"value","value":"Choose Files"}},"events":null},"UpyUP8L6djy2o1iM-whmp":{"tag":"div","type":"element","events":{"mouseleave":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"showDropdown"}],"trigger":"mouseleave"}},"children":["RuS-90Hx0hUlcQf8QdFZq","R0fcovkaQD5Cic0gx0j3q"],"condition":{"path":["Variables","showDropdown"],"type":"path","label":null},"classes":{"cSmLgL":{"formula":{"type":"value","value":true}}},"customProperties":{}},"YDPu7PmbTPbEIvobVXZlE":{"name":"icon-chevron","type":"component","attrs":{"orientation":{"type":"switch","cases":[{"formula":{"type":"value","value":"right"},"condition":{"path":["Variables","showDropdown"],"type":"path"}}],"label":null,"default":{"type":"value","value":"down"}}},"condition":{"name":"@toddle/greaterThan","type":"function","label":null,"arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","label":null,"arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","files"],"type":"path","label":null}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Greater than"},"customProperties":{}},"YmTM7J1KTFNFdL1AToAqq":{"type":"text","value":{"type":"value","value":"Maximum file size exceeded."},"events":null},"_5nc-TJpSKc8Hlf2CAczh":{"name":"icon-close","type":"component","customProperties":{}},"_XqX0vp9rFK0HuW0GudZN":{"tag":"span","type":"element","children":["0vt6GXSD2vEy4w0D306KK"],"classes":{"dYAIAx":{"formula":{"type":"value","value":true}}},"customProperties":{}},"agtnUIzemYC3knnstrUjS":{"tag":"button","type":"element","attrs":{"type":{"type":"value","value":"button"}},"events":{"click":{"actions":[{"type":"Switch","cases":[{"actions":[{"api":"Delete All Uploaded Files","type":"Fetch","input":{},"inputs":null,"onError":{"actions":[]},"onSuccess":{"actions":[]}},{"data":null,"type":"SetVariable","variable":"files"},{"data":null,"type":"TriggerEvent","event":"attachment"}],"condition":{"name":"@toddle/equals","type":"function","label":"Only 1 Attachment","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"name":"@toddle/size","type":"function","label":"Only 1 Attachment","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Variables","files"],"type":"path","label":"Only 1 Attachment"}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":1}}],"display_name":"Equals"}}],"default":{"actions":[{"data":{"name":"@toddle/deleteKey","type":"function","arguments":[{"name":"Object","type":{"type":"Object"},"formula":{"path":["Variables","files"],"type":"path","label":null}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array"},{"type":"String"}]},"formula":{"path":["ListItem","Index"],"type":"path"}}],"display_name":"Delete"},"type":"SetVariable","variable":"files"},{"data":{"name":"@toddle/filter","type":"function","arguments":[{"name":"Array","type":{"type":"Array"},"formula":{"path":["Variables","uploadedFileKeys"],"type":"path"}},{"name":"Formula","type":{"type":"Formula"},"formula":{"name":"@toddle/notEqual","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Args","item","name"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":"String","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["ListItem","Item","value"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":"name"}}],"display_name":"Get"}},{"name":"Search","type":"String","formula":{"type":"value","value":" "}},{"name":"Replace with","type":"String","formula":{"type":"value","value":"_"}}],"display_name":"Replace all"}}],"display_name":"Not equal"},"isFunction":true}],"display_name":"Filter"},"type":"SetVariable","variable":"uploadedFileKeys"},{"data":{"path":["Variables","uploadedFileKeys"],"type":"path"},"type":"TriggerEvent","event":"attachment"},{"api":"Delete Single Uploaded File","type":"Fetch","inputs":{"name":{"name":"name","formula":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":"String","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["ListItem","Item","value"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":"name"}}],"display_name":"Get"}},{"name":"Search","type":"String","formula":{"type":"value","value":" "}},{"name":"Replace with","type":"String","formula":{"type":"value","value":"_"}}],"display_name":"Replace all"}}},"onError":{"actions":[]},"onMessage":{"actions":[]},"onSuccess":{"actions":[]}}]}}],"trigger":"click"}},"children":["9Vcnwpe_V729YYnos6aeY"],"classes":{"fCEOqm":{"formula":{"type":"value","value":true}}},"customProperties":{}},"apjbsX8jlBSZxjhOHAiUD":{"tag":"label","type":"element","attrs":{"for":{"type":"value","value":"attachment-input"}},"events":{"mouseenter":{"actions":[{"type":"Switch","cases":[{"actions":[],"condition":{"name":"@toddle/boolean","type":"function","label":"If attachment not null","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"path":["Variables","files"],"type":"path"}}],"display_name":"Boolean"}}],"default":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"showClip"},{"data":{"type":"value","value":true},"type":"SetVariable","variable":"showUpload"}]}}],"trigger":"mouseenter"},"mouseleave":{"actions":[{"data":{"type":"value","value":false},"type":"SetVariable","variable":"showUpload"},{"data":{"type":"value","value":true},"type":"SetVariable","variable":"showClip"}],"trigger":"mouseleave"}},"children":["7RjxV-LPeeXUlwCYbdfLA","J3XO70P95fFz2ZCpJ_7OC","ohRnC5t4J7T3T3_z0WLUQ","95eG_eqd67baSBC_Ixvbt","1O1fIVy11w8qgkaCU4H7e"],"condition":{"name":"@toddle/not","type":"function","label":null,"arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Attributes","has-files"],"type":"path","label":null}}],"display_name":"Not"},"classes":{"QVFNe":{"formula":{"type":"value","value":true}}},"customProperties":{}},"cpVEJRwy8mMZVVVHdNEmb":{"tag":"span","type":"element","children":["40G5Ij5q3hZVjJ46DXGzS"],"classes":{"cXtpkA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"dzDSUzM0-kqqZMft_dtYI":{"id":"dzDSUzM0-kqqZMft_dtYI","name":"icon-close","type":"component","attrs":{"size":{"type":"value","value":"0.875rem"}},"customProperties":{}},"i3AnGYLixP8dqBcLM7YT5":{"type":"text","value":{"type":"value","value":"Download All"},"events":null},"n3cp3KtysG908TiWLxkyv":{"name":"icon-download","type":"component","customProperties":{}},"ohRnC5t4J7T3T3_z0WLUQ":{"id":"Fk1OyEuC125cCmizQcEwV","name":"icon-attachment","type":"component","attrs":{"size":{"type":"value","value":"0.875rem"}},"condition":{"type":"and","arguments":[{"formula":{"path":["Variables","showClip"],"type":"path"}},{"formula":{"name":"@toddle/not","type":"function","arguments":[{"name":"Input","type":{"type":"Boolean"},"formula":{"path":["Apis","Upload Files","isLoading"],"type":"path","label":null}}],"display_name":"Not"}}]},"customProperties":{}},"ol-jOVk1TP9De0b71iQjr":{"tag":"span","type":"element","children":["4mHh5mBi3A6PM03ejV_yy"],"classes":{"TKfZg":{"formula":{"type":"value","value":true}}},"customProperties":{}},"pSr_x_Dp5SfBkcD79QhOn":{"tag":"div","type":"element","children":["HnQQCD92uW15TH4cwf2Rc"],"condition":{"name":"@toddle/greaterThan","type":"function","label":null,"arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","label":null,"arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Variables","files"],"type":"path","label":null}}],"display_name":"Size"}},{"name":"Second","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Greater than"},"classes":{"dGuARy":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qp2Ktve6OR0ovAJTPlt11":{"tag":"div","type":"element","children":["1Qv5xwoeH-aS31c_xSj2z","4C_Wenf_UT1eoC5o5_sQ0"],"classes":{"enqHcI":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"events":[{"name":"filesArr"}],"onLoad":{"actions":[],"trigger":"Load"},"exported":true,"formulas":{"NBIhVT":{"name":"deleteKeysSingle","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/filter","type":"function","arguments":[{"name":"Array","type":{"type":"Array"},"formula":{"path":["Variables","uploadedFileKeys"],"type":"path"}},{"name":"Formula","type":{"type":"Formula"},"formula":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Args","item","name"],"type":"path"}},{"name":"Second","type":{"type":"Any"},"formula":{"path":["Args","@toddle.parent","fileName"],"type":"path"}}],"display_name":"Equals"},"isFunction":true}],"display_name":"Filter"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"type":"value","value":0}},{"Name":0,"formula":{"type":"value","value":"Key"}}]}}],"display_name":"Get"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"path":["Attributes","bucket-name"],"type":"path"}}],"display_name":"Split"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":1}}],"display_name":"Get"},"memoize":false,"arguments":[{"name":"fileName"}],"exposeInContext":false},"-751UxFAKqKNVvzWJmhIg":{"name":"deleteKeysAll","formula":{"name":"@toddle/map","type":"function","arguments":[{"name":"Array","type":{"type":"Array"},"formula":{"path":["Variables","uploadedFileKeys"],"type":"path"}},{"name":"Formula","type":{"type":"Formula"},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"path":["Args","item","Key"],"type":"path"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"path":["Attributes","bucket-name"],"type":"path"}}],"display_name":"Split"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":1}}],"display_name":"Get"},"isFunction":true}],"display_name":"Map"},"memoize":false,"arguments":[]}},"variables":{"files":{"initialValue":null},"fileSize":{"initialValue":null},"showClip":{"initialValue":{"type":"value","value":true}},"fileIndex":{"initialValue":null},"loopIndex":{"initialValue":{"type":"value","value":0}},"showUpload":{"initialValue":{"type":"value","value":false}},"downloadLoop":{"initialValue":{"type":"value","value":0}},"requestedURL":{"initialValue":{"type":"array","arguments":[]}},"showDropdown":{"initialValue":{"type":"value","value":false}},"uploadRequest":{"initialValue":{"type":"array","label":null,"arguments":[]}},"uploadedFileKeys":{"initialValue":{"type":"array","label":null,"arguments":[]}},"showFileSizeExceeded":{"initialValue":{"type":"value","value":false}}},"workflows":{"aV63WO":{"name":"Upload Loop","actions":[{"type":"Switch","cases":[{"actions":[{"api":"Request Upload URL","type":"Fetch","input":{},"inputs":null,"onError":{"actions":[{"type":"Switch","cases":[{"actions":[{"data":{"name":"@toddle/append","type":"function","arguments":[{"name":"Array","type":{"type":"Array"},"formula":{"path":["Variables","uploadedFileKeys"],"type":"path"}},{"name":"Item","type":{"type":"Any"},"formula":{"type":"object","arguments":[{"Name":0,"name":"Key","formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Attributes","bucket-name"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"/"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"switch","cases":[{"formula":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":"String","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"value"}},{"Name":0,"formula":{"type":"value","value":"name"}}]}}],"display_name":"Get"}},{"name":"Search","type":"String","formula":{"type":"value","value":" "}},{"name":"Replace with","type":"String","formula":{"type":"value","value":"_"}}],"display_name":"Replace all"},"condition":{"name":"@toddle/equals","type":"function","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","folder-path"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":null}}],"display_name":"Default to","variableArguments":true}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":null}}],"display_name":"Equals"}}],"default":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Attributes","folder-path"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"/"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":"String","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"value"}},{"Name":0,"formula":{"type":"value","value":"name"}}]}}],"display_name":"Get"}},{"name":"Search","type":"String","formula":{"type":"value","value":" "}},{"name":"Replace with","type":"String","formula":{"type":"value","value":"_"}}],"display_name":"Replace all"}}],"display_name":"Concatenate","variableArguments":true}}}],"display_name":"Concatenate","variableArguments":true}},{"Name":0,"name":"name","formula":{"name":"@toddle/replaceAll","type":"function","arguments":[{"name":"Input","type":"String","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"value"}},{"Name":0,"formula":{"type":"value","value":"name"}}]}}],"display_name":"Get"}},{"name":"Search","type":"String","formula":{"type":"value","value":" "}},{"name":"Replace with","type":"String","formula":{"type":"value","value":"_"}}],"display_name":"Replace all"}}]}}],"display_name":"Append"},"type":"SetVariable","variable":"uploadedFileKeys"},{"data":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Add","variableArguments":true},"type":"SetVariable","variable":"loopIndex"},{"data":{"path":["Variables","uploadedFileKeys"],"type":"path"},"type":"TriggerEvent","event":"filesArr"},{"type":"TriggerWorkflow","workflow":"aV63WO"}],"condition":{"name":"@toddle/includes","type":"function","label":"Duplicate item","arguments":[{"name":"Array","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"}]},"formula":{"path":["Apis","Request Upload URL","error","message"],"type":"path","label":null}},{"name":"Item","type":{"type":"Any"},"formula":{"type":"value","value":"Duplicate"}}],"display_name":"Includes"}}],"default":{"actions":[]}}],"trigger":"onError"},"onSuccess":{"actions":[{"api":"Upload Files","type":"Fetch","input":{},"inputs":null,"onError":{"actions":[]},"onSuccess":{"actions":[{"data":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"path":["Variables","loopIndex"],"type":"path"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Add","variableArguments":true},"type":"SetVariable","variable":"loopIndex"},{"data":{"path":["Variables","uploadedFileKeys"],"type":"path"},"type":"TriggerEvent","event":"filesArr"},{"type":"TriggerWorkflow","workflow":"aV63WO"}],"trigger":"onSuccess"}}],"trigger":"onSuccess"}}],"condition":{"name":"@toddle/lessThan","type":"function","label":"loop is less than size","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","loopIndex"],"type":"path","label":null}},{"name":"Second","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Variables","files"],"type":"path"}}],"display_name":"Size"}}],"display_name":"Less than"}}],"default":{"actions":[]}}],"exposeInContext":false,"parameters":[]},"wFvvgk":{"name":"Download Loop","actions":[{"type":"Switch","cases":[{"actions":[{"api":"Get Signed File Links","type":"Fetch","input":{},"inputs":null,"onError":{"actions":[]},"onSuccess":{"actions":[{"name":"downloadAttch","version":2,"arguments":[{"name":"dlUrl","formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"path":["Attributes","supabase-url"],"type":"path"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"/storage/v1"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","requestedURL"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"path":["Variables","downloadLoop"],"type":"path"}}],"display_name":"Get"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"type":"value","value":"token"}}],"display_name":"Split"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":0}}],"display_name":"Get"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"download="}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Attributes","files"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"array","arguments":[{"Name":0,"formula":{"path":["Variables","downloadLoop"],"type":"path"}},{"Name":0,"formula":{"type":"value","value":"name"}}]}}],"display_name":"Get"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"type":"value","value":"&"}},{"name":"0","type":{"type":"Union","types":[{"type":"String"},{"type":"Array","ofType":{"type":"Any"}}]},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"name":"@toddle/split","type":"function","arguments":[{"name":"Input","type":{"type":"String"},"formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"path":["Variables","requestedURL"],"type":"path"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"path":["Variables","downloadLoop"],"type":"path"}}],"display_name":"Get"}},{"name":"Delimiter","type":{"type":"String"},"formula":{"type":"value","value":"?"}}],"display_name":"Split"}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"type":"value","value":1}}],"display_name":"Get"}}],"display_name":"Concatenate","variableArguments":true}}]},{"data":{"name":"@toddle/add","type":"function","arguments":[{"name":"0","type":{"type":"Number"},"formula":{"path":["Variables","downloadLoop"],"type":"path"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":1}}],"display_name":"Add","variableArguments":true},"type":"SetVariable","variable":"downloadLoop"},{"type":"TriggerWorkflow","workflow":"wFvvgk"}],"trigger":"onSuccess"}}],"condition":{"name":"@toddle/lessThan","type":"function","label":"loop is less than size","arguments":[{"name":"First","type":{"type":"Number"},"formula":{"path":["Variables","downloadLoop"],"type":"path"}},{"name":"Second","type":{"type":"Number"},"formula":{"name":"@toddle/size","type":"function","arguments":[{"name":"Collection","type":{"type":"Union","types":[{"type":"String"},{"type":"Array"},{"type":"Object"}]},"formula":{"path":["Attributes","files"],"type":"path"}}],"display_name":"Size"}}],"display_name":"Less than"}}],"default":{"actions":[]}}],"parameters":[],"exposeInContext":false}},"attributes":{"files":{"name":"files"},"has-files":{"name":"has-files"},"bucket-name":{"name":"bucket-name"},"clear-files":{"name":"clear-files"},"folder-path":{"name":"folder-path"},"supabase-key":{"name":"supabase-key"},"supabase-url":{"name":"supabase-url"},"max-file-size":{"name":"max-file-size"}},"onAttributeChange":{"actions":[{"type":"Switch","cases":[{"actions":[{"name":"clearAttachment","version":2},{"data":{"type":"value","value":null},"type":"SetVariable","variable":"files"}],"condition":{"path":["Attributes","clear-files"],"type":"path"}}],"default":{"actions":[]}}],"trigger":"Attribute change"}},{"key":"icon-spinner-loader","name":"icon-spinner-loader","nodes":{"root":{"tag":"div","type":"element","children":["y-SEfsEQ65_Gq4-x7LPiv"],"customProperties":{}},"-kAGUCidvDmRYZ5d_ijjx":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["o5s9NiSxKWyUpy1x7JUJ3"],"customProperties":{}},"2IqeJKlj1sjsQSeKAeIgf":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["mJAkBmiA5556fc5z99K7P"],"customProperties":{}},"4KhC4yobwkXavYEhyLgwR":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(270 50 50)"}},"children":["ki87Oxau8520KG_XXVjt_"],"customProperties":{}},"5cI6Du0_i3-Npjib9Hz4a":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.16666666666666666s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"7rgi8F0wvEeQOiiSAkKL1":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["iF6tYXKJ9hFb-u9wSfN0G"],"customProperties":{}},"8xWH1qXROdSHNfuwskPNj":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(0 50 50)"}},"children":["Beqn5shToK2_FdzaasdMj"],"customProperties":{}},"ALG4f8KuTgUZwKdydTLM4":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(90 50 50)"}},"children":["2IqeJKlj1sjsQSeKAeIgf"],"customProperties":{}},"Beqn5shToK2_FdzaasdMj":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["e9j_IXOICHEI8c1smS0Re"],"customProperties":{}},"CT2HXTO8wFRYykgiyaFT9":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.3333333333333333s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"DTkrSE45x0F4aCwNtNFEB":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["FyVqWKb54t5DANAlwr3UD"],"customProperties":{}},"FyVqWKb54t5DANAlwr3UD":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.8333333333333334s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"I8LAptFoSEBkW4tL8UEJr":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["t6HnDnvCtHFQpBtJ6xu_i"],"customProperties":{}},"KHHVINOKKFRR79ptAcQ1o":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(180 50 50)"}},"children":["I8LAptFoSEBkW4tL8UEJr"],"customProperties":{}},"KnCRJAy4jU5HrWkL0NAK_":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(240 50 50)"}},"children":["-kAGUCidvDmRYZ5d_ijjx"],"customProperties":{}},"NoOMYLK1pUsn7Poz-Xqvp":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(150 50 50)"}},"children":["_knYJehOrenKAVwtHbAuu"],"customProperties":{}},"O5WpaWMtOF1dcVJouY61_":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["CT2HXTO8wFRYykgiyaFT9"],"customProperties":{}},"PcT74p335Tg36Y399gOeq":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(210 50 50)"}},"children":["O5WpaWMtOF1dcVJouY61_"],"customProperties":{}},"Rh9u_QcUsbBVWmsBGi_ak":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["X86HkW1aBRgFVNh8f9RKW"],"customProperties":{}},"SXSM0Uf2wlpKKtRZRg_0i":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(120 50 50)"}},"children":["Rh9u_QcUsbBVWmsBGi_ak"],"customProperties":{}},"T2qpjmmUwz2bgT70xqHAY":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(330 50 50)"}},"children":["7rgi8F0wvEeQOiiSAkKL1"],"customProperties":{}},"X86HkW1aBRgFVNh8f9RKW":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.5833333333333334s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"_knYJehOrenKAVwtHbAuu":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["wwq4YYnsj2Z9-JFi2qcUj"],"customProperties":{}},"c-iYyF-go6CV_mNMdgnnu":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(30 50 50)"}},"children":["DTkrSE45x0F4aCwNtNFEB"],"customProperties":{}},"e8LdM0Htl3KjM9hYPyQEz":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.75s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"e9j_IXOICHEI8c1smS0Re":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.9166666666666666s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"i0VgkrTQsfCpV6Ozgrtuc":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(300 50 50)"}},"children":["iarcaJgG_lwUuHoYpO3yo"],"customProperties":{}},"iF6tYXKJ9hFb-u9wSfN0G":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"0s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"iarcaJgG_lwUuHoYpO3yo":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["yZ3dbZbvtn28VD8RBV0AX"],"customProperties":{}},"ki87Oxau8520KG_XXVjt_":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["5cI6Du0_i3-Npjib9Hz4a"],"customProperties":{}},"mJAkBmiA5556fc5z99K7P":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.6666666666666666s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"o5s9NiSxKWyUpy1x7JUJ3":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.25s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"s_VoAGE-Q-HlO_z5O5VXo":{"tag":"g","type":"element","attrs":{"transform":{"type":"value","value":"rotate(60 50 50)"}},"children":["z9Sn3Vegg05kHILCj2rDG"],"customProperties":{}},"t6HnDnvCtHFQpBtJ6xu_i":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.4166666666666667s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"wwq4YYnsj2Z9-JFi2qcUj":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.5s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"y-SEfsEQ65_Gq4-x7LPiv":{"tag":"svg","type":"element","attrs":{"style":{"type":"value","value":"margin: auto; background: none; display: block; shape-rendering: auto;"},"width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1.5rem"}}],"display_name":"Default to","variableArguments":true},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1.5rem"}}],"display_name":"Default to","variableArguments":true},"stroke":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"viewBox":{"type":"value","value":"0 0 100 100"},"xmlns:xlink":{"type":"value","value":"http://www.w3.org/1999/xlink"},"preserveAspectRatio":{"type":"value","value":"xMidYMid"}},"children":["8xWH1qXROdSHNfuwskPNj","c-iYyF-go6CV_mNMdgnnu","s_VoAGE-Q-HlO_z5O5VXo","ALG4f8KuTgUZwKdydTLM4","SXSM0Uf2wlpKKtRZRg_0i","NoOMYLK1pUsn7Poz-Xqvp","KHHVINOKKFRR79ptAcQ1o","PcT74p335Tg36Y399gOeq","KnCRJAy4jU5HrWkL0NAK_","4KhC4yobwkXavYEhyLgwR","i0VgkrTQsfCpV6Ozgrtuc","T2qpjmmUwz2bgT70xqHAY"],"customProperties":{}},"yZ3dbZbvtn28VD8RBV0AX":{"tag":"animate","type":"element","attrs":{"dur":{"type":"value","value":"1s"},"begin":{"type":"value","value":"-0.08333333333333333s"},"values":{"type":"value","value":"1;0"},"keyTimes":{"type":"value","value":"0;1"},"repeatCount":{"type":"value","value":"indefinite"},"attributeName":{"type":"value","value":"opacity"}},"customProperties":{}},"z9Sn3Vegg05kHILCj2rDG":{"tag":"rect","type":"element","attrs":{"x":{"type":"value","value":"45.5"},"y":{"type":"value","value":"9.5"},"rx":{"type":"value","value":"4.5"},"ry":{"type":"value","value":"7.5"},"fill":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"width":{"type":"value","value":"9"},"height":{"type":"value","value":"15"}},"children":["e8LdM0Htl3KjM9hYPyQEz"],"customProperties":{}}},"attributes":{"size":{"name":"size"},"color":{"name":"color"}}},{"name":"icon-download","nodes":{"root":{"tag":"icon-download","type":"element","children":["ZAdedN1Y-dj2hgAWNZsnx"],"customProperties":{}},"5GOPCG4uRiyOU9rzOF3Ry":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M12 4l0 12"}},"customProperties":{}},"F4r46k769A0hLwOmY308u":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"customProperties":{}},"L6pfPIUpLbPQ-z1Dp4aDT":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M7 11l5 5l5 -5"}},"customProperties":{}},"ZAdedN1Y-dj2hgAWNZsnx":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"stroke":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","stroke-width"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1.5"}}],"display_name":"Default to","variableArguments":true},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"children":["F4r46k769A0hLwOmY308u","ipyW8b50UzHS1UiVRXEbj","L6pfPIUpLbPQ-z1Dp4aDT","5GOPCG4uRiyOU9rzOF3Ry"],"customProperties":{}},"ipyW8b50UzHS1UiVRXEbj":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}},"customProperties":{}}},"__type":"components","attributes":{"size":{"name":"size"},"color":{"name":"color"},"stroke-width":{"name":"stroke-width"}}},{"name":"icon-upload","nodes":{"root":{"tag":"icon-upload","type":"element","children":["8Q5w4Scf2ze7eE9_9Bx9I"],"customProperties":{}},"3ij7RAxBIMjGIfr22e0nF":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2"}},"customProperties":{}},"8Q5w4Scf2ze7eE9_9Bx9I":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"stroke":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","stroke-width"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1.5"}}],"display_name":"Default to","variableArguments":true},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"children":["tf8CXeI2Ydul4znXxu4td","3ij7RAxBIMjGIfr22e0nF","LyLvRNNT_0FzuhgncEjHB","YDwK7XtRvCVMiPOiu2BnM"],"customProperties":{}},"LyLvRNNT_0FzuhgncEjHB":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M7 9l5 -5l5 5"}},"customProperties":{}},"YDwK7XtRvCVMiPOiu2BnM":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M12 4l0 12"}},"customProperties":{}},"tf8CXeI2Ydul4znXxu4td":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"customProperties":{}}},"__type":"components","attributes":{"size":{"name":"size"},"color":{"name":"color"},"stroke-width":{"name":"stroke-width"}}},{"name":"icon-close","nodes":{"root":{"tag":"icon-close","type":"element","children":["mmUW8JTWGwn3Fo8rNSisM"],"customProperties":{}},"Q4PAdaUf_RFJ9kWYddeP-":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M6 6l12 12"}},"customProperties":{}},"il0FAOZRXRmxg084-2ObI":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M18 6l-12 12"}},"customProperties":{}},"lQHnLu32x7s3_YzBQyYH_":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"customProperties":{}},"mmUW8JTWGwn3Fo8rNSisM":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"stroke":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","stroke-width"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1.5"}}],"display_name":"Default to","variableArguments":true},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"children":["lQHnLu32x7s3_YzBQyYH_","il0FAOZRXRmxg084-2ObI","Q4PAdaUf_RFJ9kWYddeP-"],"customProperties":{}}},"attributes":{"size":{"name":"size"},"color":{"name":"color"},"stroke-width":{"name":"stroke-width"}}},{"name":"modal-base","nodes":{"root":{"tag":"modal-base","type":"element","children":["DXbrid-87y2HE107eHjOo"],"style-variables":[{"name":"top","unit":"","formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","top"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"20%"}}],"display_name":"Default to","variableArguments":true},"category":"spacing"}],"classes":{"dpOhmM":{"formula":{"type":"value","value":true}}},"customProperties":{}},"DXbrid-87y2HE107eHjOo":{"tag":"div","type":"element","children":["tyuZca7dfPOYttQUhTZjo"],"style-variables":[{"name":"theme-bg","unit":"","formula":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"type":"object","arguments":[{"Name":0,"name":"light","formula":{"type":"value","value":"#fff"}},{"Name":0,"name":"dark","formula":{"type":"value","value":"#000"}},{"Name":0,"name":"accent","formula":{"type":"value","value":"var(--Main-100)"}}]}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","theme-bg"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"light"}}],"display_name":"Default to","variableArguments":true}}],"display_name":"Get"},"category":"color"}],"classes":{"bhiZTj":{"formula":{"type":"value","value":true}}},"customProperties":{}},"tyuZca7dfPOYttQUhTZjo":{"type":"slot"}},"attributes":{"top":{"name":"top"},"theme-bg":{"name":"theme-bg"}}},{"name":"icon-chevron","nodes":{"root":{"tag":"icon-chevron","type":"element","children":["2Q0CAqEaCq0i-IuEea2cr"],"customProperties":{}},"2Q0CAqEaCq0i-IuEea2cr":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"style":{"name":"@toddle/get","type":"function","arguments":[{"name":"Object","type":{"type":"Union","types":[{"type":"Object"},{"type":"Array"},{"type":"String"}]},"formula":{"type":"object","arguments":[{"Name":0,"name":"up","formula":{"type":"value","value":"transform: rotate(180deg)"}},{"Name":0,"name":"left","formula":{"type":"value","value":"transform: rotate(90deg)"}},{"Name":0,"name":"right","formula":{"type":"value","value":"transform: rotate(270deg)"}}]}},{"name":"Path","type":{"type":"Union","types":[{"type":"Array","ofType":{"type":"String"}},{"type":"String"},{"type":"Number"}]},"formula":{"path":["Attributes","orientation"],"type":"path"}}],"display_name":"Get"},"width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"stroke":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","stroke-width"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1.5"}}],"display_name":"Default to","variableArguments":true},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"children":["QEmq-CiclgMCChbz_vIvo","pQWXcbircliB-GvR6XPfw"],"customProperties":{}},"QEmq-CiclgMCChbz_vIvo":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"customProperties":{}},"pQWXcbircliB-GvR6XPfw":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M6 9l6 6l6 -6"}},"customProperties":{}}},"__type":"components","attributes":{"size":{"name":"size"},"color":{"name":"color"},"orientation":{"name":"orientation"},"stroke-width":{"name":"stroke-width"}}},{"name":"icon-attachment","nodes":{"root":{"tag":"icon-attachment","type":"element","children":["UR_ffv-dG47cdJo4YQ1OE"],"customProperties":{}},"UR_ffv-dG47cdJo4YQ1OE":{"tag":"svg","type":"element","attrs":{"fill":{"type":"value","value":"none"},"width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"xmlns":{"type":"value","value":"http://www.w3.org/2000/svg"},"height":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","size"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1rem"}}],"display_name":"Default to","variableArguments":true},"stroke":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","color"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"currentColor"}}],"display_name":"Default to","variableArguments":true},"viewBox":{"type":"value","value":"0 0 24 24"},"stroke-width":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Attributes","stroke-width"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":"1.5"}}],"display_name":"Default to","variableArguments":true},"stroke-linecap":{"type":"value","value":"round"},"stroke-linejoin":{"type":"value","value":"round"}},"children":["fxFzVX6lZKpK7ONflXmEc","sgVcGdgjs_fLTtxrZs5W7"],"classes":{"eNXbWp":{"formula":{"type":"value","value":true}}},"customProperties":{}},"fxFzVX6lZKpK7ONflXmEc":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M0 0h24v24H0z"},"fill":{"type":"value","value":"none"},"stroke":{"type":"value","value":"none"}},"customProperties":{}},"sgVcGdgjs_fLTtxrZs5W7":{"tag":"path","type":"element","attrs":{"d":{"type":"value","value":"M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3l6.5 -6.5a3 3 0 0 0 -6 -6l-6.5 6.5a4.5 4.5 0 0 0 9 9l6.5 -6.5"}},"customProperties":{}}},"__type":"components","attributes":{"size":{"name":"size"},"color":{"name":"color"},"stroke-width":{"name":"stroke-width"}}}]}